package com.yfqy.admin.service.impl;

import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;
import com.yfqy.admin.domain.mapper.OrderOperationLogMapper;
import com.yfqy.admin.domain.entity.OrderOperationLog;
import com.yfqy.admin.service.OrderOperationLogService;

@Service
public class OrderOperationLogServiceImpl implements OrderOperationLogService {

    @Resource
    private OrderOperationLogMapper orderOperationLogMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return orderOperationLogMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(OrderOperationLog record) {
        return orderOperationLogMapper.insert(record);
    }

    @Override
    public int insertSelective(OrderOperationLog record) {
        return orderOperationLogMapper.insertSelective(record);
    }

    @Override
    public OrderOperationLog selectByPrimaryKey(Long id) {
        return orderOperationLogMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(OrderOperationLog record) {
        return orderOperationLogMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(OrderOperationLog record) {
        return orderOperationLogMapper.updateByPrimaryKey(record);
    }

}
